package com.rongshu.view.mediaPlayer.iview;

import com.rongshu.view.base.mvp.INetBean;
import com.rongshu.view.base.mvp.IView;
import com.rongshu.view.home.entity.CommentDetails;
import com.rongshu.view.home.entity.CommentReplysBean;
import com.rongshu.view.mediaPlayer.bean.AudiobookDetailsResponse;

import java.util.List;

import okhttp3.ResponseBody;

/**
 * created by zhengweis on 2019/4/28.
 * description：
 */
public interface AudiobookPlayerView extends IView {
    /**
     * 文章详情
     */
    void onAudiobookDetails(AudiobookDetailsResponse.ResponseBean response);

    /**
     * 文章评论列表
     */
    void onCommentMsg(List<CommentDetails.ResponseBean> responseBeanList);

    /**
     * 单条评论下的回复列表
     */
    void onOnecommentDetail(List<CommentReplysBean> commentReplysBeans);

    /**
     * 评论点赞
     */
    void onCommentlike();

    /**
     * 评论/回复评论成功
     */
    void commentSuccess(ResponseBody body);

    /**
     * 评论/回复 删除成功
     * @param bean
     */
    void onCommentDelete(INetBean bean);

    /**
     * 文章点赞
     */
    void onPraiseSuccess();

    /**
     * 收藏/取消收藏 成功
     */
    void onCollectSuccess();

    /**
     * 关闭当前页面
     */
    void finishThisAct();
}
